package com.yjc.hire.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yjc.pojo.DataDictionary;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/8/9
 * </p>
 */

@Mapper
public interface DataDictionaryMapper extends BaseMapper<DataDictionary> {

    DataDictionary selectDDByItemKeyAndItemValue(String itemKey, String itemValue);

    List<DataDictionary> selectDataDictionaryList(String typeName, String itemValue);

    List<DataDictionary> getDictionaryByTypeCode(String typeCode, Integer type);
}
